package cn.omisheep.au.core;

import lombok.extern.slf4j.Slf4j;
import org.quartz.Job;
import org.quartz.JobExecutionContext;

/**
 * @author zhou xin chen  😊
 * 联系方式 qq:1269670415  email:xinchenzhou666@gmail.com
 */
@Slf4j
public class KeyRefreshJob implements Job {

    @Override
    public void execute(JobExecutionContext context) {
        AuKey auKey = (AuKey) context.getJobDetail().getJobDataMap().get("auKey");
        auKey.refreshKeyGroup();
    }
}
